﻿<%@ Control Language="C#" Inherits="PlexBB.Controls.ForumListBody" %>
<asp:HyperLink runat="server" ID="mainLink" />
dsfd
<asp:HyperLink runat="server" ID="hRegister" />
<%--<asp:Repeater runat="server" DataSource="<%#Categories %>">
    <ItemTemplate>
        <div class="forabg">
            <div class="inner">
                <span class="corners-top"><span></span></span>
                <ul class="topiclist">
                    <li class="header">
                        <dl class="icon">
                            <dt><a runat="server" visible="<%# Defined(Category.FORUM_NAME) %>" href="<%# Category.U_VIEWFORUM %>">
                                <%# Category.FORUM_NAME %></a>
                                <asp:PlaceHolder runat="server" Visible="<%# !Defined(Category.FORUM_NAME) %>">
                                    <%=Lang.FORUM %></asp:PlaceHolder>
                            </dt>
                            <dd class="topics">
                                <%=Lang.TOPICS %></dd>
                            <dd class="posts">
                                <%=Lang.POSTS%></dd>
                            <dd class="lastpost">
                                <span>
                                    <%=Lang.LAST_POST%></span></dd>
                        </dl>
                    </li>
                </ul>
                <ul class="topiclist forums">
                    <asp:Repeater runat="server" DataSource="<%#Category.Forums %>">
                        <ItemTemplate>
                            <li class="row">
                                <dl class="icon" style="background-image: url(<%# Forum.FORUM_FOLDER_IMG_SRC %>);
                                    background-repeat: no-repeat;">
                                    <dt><span runat="server" visible="<%# Defined(Forum.FORUM_IMAGE) %>" class="forum-image">
                                        <%# Forum.FORUM_IMAGE%></span> <a href="<%# Forum.U_VIEWFORUM %>" class="forumtitle">
                                            <%# Forum.FORUM_NAME%></a><br />
                                        <%# Forum.FORUM_DESC%>
                                        <asp:PlaceHolder runat="server" Visible="<%# Defined(Forum.MODERATORS) %>">
                                            <br />
                                            <strong>
                                                <%= Lang.MODERATOR_STR%>:</strong>
                                            <%# Forum.MODERATORS%>
                                        </asp:PlaceHolder>
                                        <asp:PlaceHolder runat="server" Visible="<%# Defined(Forum.SUBFORUMS) %>">
                                            <br />
                                            <strong>
                                                <%= Lang["SUBFORUM_STR"]%>:</strong>
                                            <%# Forum.SUBFORUMS%>
                                        </asp:PlaceHolder>
                                    </dt>
                                    <dd runat="server" visible="<%# Defined(Forum.CLICKS) %>" class="redirect">
                                        <span>
                                            <%= Lang.REDIRECTS %>:
                                            <%# Forum.CLICKS %></span></dd>
                                    <asp:PlaceHolder runat="server" Visible="<%# !Defined(Forum.CLICKS) && !Forum.S_IS_LINK %>">
                                        <dd class="topics">
                                            <%# Forum.TOPICS%>
                                            <dfn>
                                                <%= Lang.TOPICS%></dfn></dd>
                                        <dd class="posts">
                                            <%# Forum.POSTS%>
                                            <dfn>
                                                <%= Lang.POSTS%></dfn></dd>
                                        <dd class="lastpost">
                                            <span runat="server" visible="<%# Defined(Forum.LAST_POST_TIME) %>"><dfn>
                                                <%= Lang.LAST_POST %></dfn>
                                                <%= Lang.POST_BY_AUTHOR %>
                                                <%# Forum.LAST_POSTER_FULL %>
                                                <a href="<%# Forum.U_LAST_POST %>">
                                                    <%= LAST_POST_IMG%></a>
                                                <br />
                                                <%= Lang.POSTED_ON_DATE %>
                                                <%# Forum.LAST_POST_TIME %></span> <span runat="server" visible="<%# !Defined(Forum.LAST_POST_TIME) %>">
                                                    <%= Lang.NO_POSTS %></span>
                                        </dd>
                                    </asp:PlaceHolder>
                                </dl>
                            </li>
                        </ItemTemplate>
                    </asp:Repeater>
                </ul>
                <span class="corners-bottom"><span></span></span>
            </div>
        </div>
    </ItemTemplate>
</asp:Repeater>
--%>